/* 
 * File:   simple_function_pointer.cpp
 * Author: tandaica0612
 *
 * Created on December 30, 2008, 4:43 PM
 */

#include <stdlib.h>
#include <iostream>
using namespace std;
/*
 * 
 */
void inraloichao(){
    cout << "Hello ^^!" << endl;
}
int tinhtong2so(int a,int b){
    return a+b;
}
/*
int main(int argc, char** argv) {
    void (*myfunc)() = &inraloichao;
    (*myfunc)();
    int (*myfunc2)(int,int) = &tinhtong2so;
    cout << (*myfunc2)(5,10) << endl;
    return (EXIT_SUCCESS);
}
 **/
/*
Hello ^^!
15
 **/
